part of 'todo_cubit.dart';

@immutable
abstract class TodoState {
  const TodoState();
}

class TodoInitial extends TodoState {}

class TodoLoading extends TodoState{
  const TodoLoading();
}

class TodoEmpty extends TodoState{
  const TodoEmpty();
}

class TodoLoaded extends TodoState{
  final List<ToDoModel> todos;
  TodoLoaded(this.todos);
}
class TodoPlaced extends TodoState {
  const TodoPlaced();
}